.is-default {
  padding: 12px 18px;
}
.is-medium {
  padding: 10px 16px;
}
.is-small {
  padding: 8px 14px;
}
.is-mini {
  padding: 6px 12px;
}
.lys-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  /* can't select text  */
  -moz-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  // padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  &:hover,
  &:focus {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
  }
  /*  plain style */
  &.is-plain {
    &:hover,
    &:focus {
      background: #fff;
      border-color: #489eff;
      color: #409eff;
    }
  }
  /* round */
  &.is-round {
    border-radius: 20px;
    padding: 12px 23px;
  }
  /* circle */
  &.is-circle {
    border-radius: 50%;
    padding: 12px!important;
  }
  /* disable style */
  &.is-disabled {
    cursor: no-drop;
  }
}
   /* icon style */
.lys-button [class*='lys-icon-'] + span {
  margin-left: 5px;
}

/* different type style */
.lys-button-primary {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
  &:hover,
  &:focus {
    background: #66b1ff;
    color: #fff;
  }
  &.is-plain {
    color: #409eff;
    background: #ecf5ff;
    &:hover,
    &:focus {
      background: #409eff;
      border-color: #409eff;
      color: #fff;
    }
  }
}
.lys-button-success {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
  &:hover,
  &:focus {
    background: #85ce61;
    color: #fff;
  }
  &.is-plain {
    color: #67c23a;
    background: #F0F9EB;
    &:hover,
    &:focus {
      background: #67c23a;
      border-color: #67c23a;
      color: #fff;
    }
  }
}
.lys-button-info {
  color: #fff;
  background-color: #909399;
  border-color: #909399;
  &:hover,
  &:focus {
    background: #a6a9ad;
    color: #fff;
  }
  &.is-plain {
    color: #909399;
    background: #F4F4F5;
    &:hover,
    &:focus {
      background: #909399;
      border-color: #909399;
      color: #fff;
    }
  }
}
.lys-button-warning {
  color: #fff;
  background-color: #e6a23c;
  border-color: #e6a23c;
  &:hover,
  &:focus {
    background: #ebb563;
    color: #fff;
  }
  &.is-plain {
    color: #e6a23c;
    background: #FDF6EC;
    &:hover,
    &:focus {
      background: #e6a23c;
      border-color: #e6a23c;
      color: #fff;
    }
  }
}
.lys-button-danger {
  color: #fff;
  background-color: #f56c6c;
  border-color: #f56c6c;
  &:hover,
  &:focus {
    background: #f78989;
    color: #fff;
  }
  &.is-plain {
    color: #f56c6c;
    background: #FEF0F0;
    &:hover,
    &:focus {
      background: #f56c6c;
      border-color: #f56c6c;
      color: #fff;
    }
  }
}
